package com.stronger.pettern.decorator.decorator2;

public class test {
    public static void main(String[] args) {
        Animal dog = new DogDecorator(new DogDecorator2(new Dog()));
        dog.sleep();
        Animal fish = new FishDecorator(new Fish());
        fish.sleep();
    }
}
